package com.ourteam.workspace.dao;

import org.apache.commons.lang.enums.Enum;

import java.util.Collection;
import java.util.HashMap;
import java.util.Map;

/**
 * WorkspaceResourceTypeEnum GenDate Wed Sep 06 13:41:44 IRKT 2017
 * 
 * @model
 * @author Auto Generate
 */
public class WorkspaceResourceTypeEnum extends Enum {

	private String desc;

	protected WorkspaceResourceTypeEnum(String arg0, String aDesc) {
		super(arg0);
		desc = aDesc;
		enumValueMap.put(arg0, this);
	}

	public String getDesc() {
		return desc;
	}

	private static Map<String, WorkspaceResourceTypeEnum> enumValueMap = new HashMap<String, WorkspaceResourceTypeEnum>();

	public static WorkspaceResourceTypeEnum getEnum(String arg0) {
		return (WorkspaceResourceTypeEnum) enumValueMap.get(arg0);
	}

	public static Collection<WorkspaceResourceTypeEnum> getEnumList() {
		return enumValueMap.values();
	}

	/**
	 * 
	 * @model name="SOURCE_CODE"
	 */

	public static final WorkspaceResourceTypeEnum SOURCE_CODE = new WorkspaceResourceTypeEnum("SOURCE_CODE", "");

	/**
	 * 
	 * @model name="DEPEND_LIBARY"
	 */

	public static final WorkspaceResourceTypeEnum DEPEND_LIBARY = new WorkspaceResourceTypeEnum("DEPEND_LIBARY", "");

	/**
	 * 
	 * @model name="FLOAD"
	 */

	public static final WorkspaceResourceTypeEnum FLOAD = new WorkspaceResourceTypeEnum("FLOAD", "");

	/**
	 * 
	 * @model name="WEB_PAGE"
	 */

	public static final WorkspaceResourceTypeEnum WEB_PAGE = new WorkspaceResourceTypeEnum("WEB_PAGE", "");

}